package com.game.manager;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;
/**
 * 
 * @ClassName: GameManagerApplication
 * @Description: 后台管理系统启动类</a>
 * @author: wang guang shuai
 * @date: 2019年12月24日 上午12:13:48
 */
@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
@EnableMongoRepositories(basePackages = {"com.game.manager"})
public class GameManagerApplication {
//    public static void main(String[] args) {
//        SpringApplication app = new SpringApplication(GameManagerApplication.class);
//        app.setWebApplicationType(WebApplicationType.SERVLET);
//        app.run(args);
//    }
    public static void main(String[] args) {
        SpringApplication.run(GameManagerApplication.class, args);
    }
}

